require.config({
    baseUrl: "js",
    waitSecond: 0,
    urlArgs: "v="+Math.random(),
    paths: {
        jquery: [
            "//cdn.bootcss.com/jquery/1.10.1/jquery.min",
            "jquery-1.8.3.min"],
        ztree: "jquery.ztree.all-3.5.min",
        tree: "model/tree",
        toolk:"model/toolk"
    },
    shim: {
        ztree: {
            exports: "zTree",
            deps: ["jquery"]
        },
        tree: {
            exports: "MyTree",
            deps: ["ztree"]
        }
    }
});

require(["jquery", "ztree", "tree","toolk"], function ($, ztree, tree,tk) {
    tree.initTree();;
});


